import currentEnv from "../../configure/currentEnv";
export const projectName = currentEnv.projectName;

// 输出日志信息
export const noConsole = false;
let sassAppIdMap = {
  suning_sit: '8glai7',
  suning_pro: '9f5c9t',
  cinema_sit: 'bc5mi9',
  yingjing_sit:'0',
  yingjing_pro:'0'
}

const appidMap = {
  yingjing_weapp:'wxa61c3cc792c9595a', //  影竟
  yingjing_tt:'tt9fbae9070086fe8601',
  yingjing_alipay:'2021004129680477',
  cinema_weapp:'wx8946625b714f4ad1',
  cinema_tt:'tt9fbae9070086fe8601',
  cinema_alipay:'2021004129680477',
  suning_weapp:'wx22e5de37b8e667f6',
}
const BASE_URL_MAP = {
  yingjing_sit:'https://sit.api.tuan.ant.shop',
  yingjing_pro:'https://api.fenxian.com',
  cinema_sit:' https://sit.api.tuan.ant.shop',
  cinema_pro:'https://api.polyai.xyz',
  suning_sit:' https://sit.api.tuan.ant.shop',
  suning_pro:'https://api.fenxian.com'
}
export const appid = appidMap[`${currentEnv.project}_${currentEnv.platform}`];
export const BASE_URL = BASE_URL_MAP[`${currentEnv.project}_${currentEnv.env}`];
export const sourceUrl = currentEnv.env == 'pro'?'https://taihu-finesdk.oss-cn-beijing.aliyuncs.com/':'https://taihu-tools.oss-cn-beijing.aliyuncs.com/'

export const appid_h5 = 'wx7cf1fd5ea653f3c4';

export const AUTHREDIRECT_ENV = 'prdShopH5';
//H5亨通金服公众号鉴权中心域名
export const AUTHHOST_ENV = 'https://wxgateway.ant.shop/';

export const isStandard = true;
export const customeColor = '#ff0d49';

// 标准版小程序顶部文字颜色
export const navigationBarTextColor = '#ffffff';
export const customeAppId = sassAppIdMap[`${currentEnv.project}_${currentEnv.env}`];
